/*********************************************************************
* File: eatflower.h
* Create EatFlower
* Author: 10520418 Bui Huu Hiep
**********************************************************************/
#pragma once
#ifndef _EATFLOWER_H
#define _EATFLOWER_H

#include "GameObject.h"

/********************************************
* Goomba
* Inheritance form class Obj
* Create Goomba
********************************************/
class EatFlower : public GameObject
{
private:
	float	_max_y;
	float	_min_y;
public:
	EatFlower(float posX, float posY, float width, float height, Resources* res, int number, int depth);
	~EatFlower(void);

	void Update(float time, QNode* &Tree);
	void Render(LPD3DXSPRITE spriteHandler, Viewport* viewport);
	void ChangeState(char state);
};
#endif
